package org.arpit.javafx.arrowbutton.control;

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.StringProperty;
import javafx.scene.control.Control;

public class ArrowButton extends Control{
	
	private String DEFAULT_STYLE_CLASS="arrow-button";
	
	//Configurable properties
	private StringProperty text;
	private IntegerProperty direction;
	
	public ArrowButton(){
		getStyleClass().add(DEFAULT_STYLE_CLASS);
	}
	
	/**
	 * Return the path to the CSS file so things are setup right
	 */
	@Override
	protected String getUserAgentStylesheet() {
		return this.getClass().getResource(this.getClass().getSimpleName() + ".css")
				.toString();
	}
	
}
